package com.huakang.mapper;

import com.huakang.entity.Asset;
import com.huakang.entity.AssetExample;
import java.util.List;

import com.huakang.utils.AssetPatientVo;
import org.apache.ibatis.annotations.Param;

public interface AssetMapper {
    long countByExample(AssetExample example);

    int deleteByExample(AssetExample example);

    int deleteByPrimaryKey(Integer aid);

    int insert(Asset record);

    int insertSelective(Asset record);

    List<Asset> selectByExample(AssetExample example);

    Asset selectByPrimaryKey(Integer aid);

    int updateByExampleSelective(@Param("record") Asset record, @Param("example") AssetExample example);

    int updateByExample(@Param("record") Asset record, @Param("example") AssetExample example);

    int updateByPrimaryKeySelective(Asset record);

    int updateByPrimaryKey(Asset record);

    List<AssetPatientVo> assectPatient();

    List<AssetPatientVo> assetSearchs(AssetPatientVo assetPatientVo);


    Asset selectByPid(Integer pid);
}